<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="RelationalLinqToSql.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%= ViewData["Title"] %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <%= ViewData["Title"] %></h2>
    <% Place place = this.ViewData["Place"] as Place;%>
    Name: <a href="<%= Html.Encode(place.Url.ToString()) %>">
        <%=place.Name%></a>
    <br />
    City:
    <%= place.City %>
    <br />
    Province:
    <%= place.Province.Name %>
</asp:Content>
